package com.ssmsq.multidatabase.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author sss
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "sys_user")
public class SysUser {

    //主键
    private String id;
    //姓名
    private String name;
    //用户名
    private String account;
    //密码
    private String password;
    //邮箱
    private String email;
    //手机号
    private String mobile;
    //状态 0:禁用，1:正常
    private Integer status;
    //用户级别1超管2高级管理员3浏览账户
    private Integer level;
    //用户识别码 *****-*****-*****
    private String userIdCode;
    //上级id
    private String pId;
    //创建时间
    private Date createTime;
    //创建用户
    private String createUser;
    //修改时间
    private Date updateTime;
    //修改用户
    private String updateUser;
}
